package com.weishuang.account.manager.convert;

import com.weishuang.account.entity.User;
import com.weishuang.model.account.dto.AccountUserDTO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface AccountUser2AccountUserDTOCovert extends BaseConverter<User, AccountUserDTO> {

    @Override
    AccountUserDTO convertTarget2Source(User accountUser);

    @Override
    List<AccountUserDTO> covertTargetList2SourceList(List<User> list);

}
